package org.bigdata.framework.core.model;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

/**
 * <p>
 * 
 * </p>
 *
 * @author dal.anhuifeng
 * @since 2017-04-18
 */
@TableName("count_account")
public class CountAccount implements Serializable {

    private static final long serialVersionUID = 1L;

	/**
	 * 
	 */
	@TableId(type = IdType.AUTO)
	private Integer id;

	/**
	 * 用户名
	 */
	@TableField(value="member_id")
	private Integer memberId;

	/**
	 * 项目id
	 */
	@TableField(value="project_id")
	private Integer projectId;

	/**
	 * 生效时间
	 */
	@TableField(value="start_time")
	private String startTime;

	/**
	 * 失效时间
	 */
	@TableField(value="end_time")
	private String endTime;

	/**
	 * 剩余次数
	 */
	private Integer count;

	/**
	 * 累计消费次数
	 */
	@TableField(value="count_consume")
	private Integer countConsume;



	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getMemberId() {
		return memberId;
	}

	public void setMemberId(Integer memberId) {
		this.memberId = memberId;
	}

	public Integer getProjectId() {
		return projectId;
	}

	public void setProjectId(Integer projectId) {
		this.projectId = projectId;
	}

	public String getStartTime() {
		return startTime;
	}

	public void setStartTime(String startTime) {
		this.startTime = startTime;
	}

	public String getEndTime() {
		return endTime;
	}

	public void setEndTime(String endTime) {
		this.endTime = endTime;
	}

	public Integer getCount() {
		return count;
	}

	public void setCount(Integer count) {
		this.count = count;
	}

	public Integer getCountConsume() {
		return countConsume;
	}

	public void setCountConsume(Integer countConsume) {
		this.countConsume = countConsume;
	}

}
